//引入jquery
import jq from "jquery"
// 引用vant
import vant from 'vant'
// 引入vant的css
import 'vant/lib/index.css'
import Vue from 'vue'
//根组件
import App from './App.vue'
//引入公共css
import './assets/css/public.css'
//引入静态css
import './assets/css/reset.css'
//尝试引入iconfont
import './assets/iconfont/iconfont.css'
//引入静态rem的js
import './assets/js/fontSize'
//引入全局组件——头部
import vTop from './components/vTop.vue'
//引入router路由
import router from './router'
//引入vuex仓库插件
import store from './store'

//调用jquery
Vue.prototype.$jq = jq

Vue.config.productionTip = false
//使用头部全局组件
Vue.component('vTop', vTop)

let vm = new Vue({
    store,
    router,
    render: h => h(App),
}).$mount('#app')

Vue.use(vant)
